import request from '@/utils/request'

export default {
  //根据手机号码发送短信
  getMobile(mobile) {
    return request({
      url: `/edusms/sms/registe/${mobile}`,
      method: 'get'
    })
  },
  //用户注册
  submitRegister(formItem) {
    return request({
      url: `/eduucenter/member/register`,
      method: 'post',
      data: formItem
    })
  },
  changePhone(changePhone) {
    return request({
      url: `/eduucenter/member/changePhone`,
      method: 'post',
      data: changePhone
    })
  },
  getChangeMobile(mobile) {
    return request({
      url: `/edusms/sms/Change/${mobile}`,
      method: 'get'
    })
  },
}